<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="/common/meta.jsp"%>
		<script type="text/javascript">
			$(function() {
	//fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mytable");
	});
})
		</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		
		<!--右边-->
            <div class="webpart3 contentarea">
                <div class="webpart-head">
                    <div class="webpart-head-item">
                       客户查询
                        <div class="tools-btn">
                             
                            &nbsp;&nbsp;<a href="####" id="fullScreen"><span>
                                <img src="${path}/statics/images/qp.gif" style="margin-right: 4px; margin-bottom: -3px;" />全屏</span></a></div>
                    </div>
                </div>
                <div class="webpart-main">
                    <div class="webpart-main-item" style="padding-top: 12px;">
                        <div class="search">
                            <!----------- 查询信息 ------------------>
                            <form method="get"
					action="${path}/customer/manage/index/fscustomer">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="right">
                                        客户姓名：
                                    </td>
                                    <td>
                                        <input type="text" name="customerName" id="customerName"
										class="input-txt" value="${customerName}">
                                    </td>
                                    
                                    <td>
                                        手机号码：
                                    </td>
                                    <td>
                                        <input type="text" name="contractMobile" id="contractMobile"
										class="input-txt" value="${contractMobile}">
                                    </td>
                                    
                                     <td  >
                                        <input type="submit" class="linkbtn2" value="查询" /> 
                                    </td>
                                </tr>
                                 
                                 
                            </table>
                            </form>
                        </div>
                        <!----------- 数据列表 ------------------>
                        
                        <table cellpadding="0" cellspacing="0" class="dg_borderstyle trStyleTable" style="margin-top: 15px;" id="mytable">
                            <tr>
                                <th>
                                    序号
                                </th>
                                <th>
                                    姓名
                                </th>
                                <th>
                                性别
                                </th>
                                <th>
                                    保单
                                </th>
                                <th>
                                    手机
                                </th>
                                <th>
                                    地址
                                </th>
                              
                                
                            </tr>
                            <c:forEach items="${pagination.resultList}" var="customer" varStatus="view">
                            <tr  >
                                <td>
									${(pagination.page-1)*10+view.index+1}
								</td>

								<td>
									<a href="${path}/customer/manage/index/show?customerID=${customer.CUSTOMERID}" >${customer.CUSTOMERNAME }</a>
									
								</td>
								<td>
									${customer.GENDER}
								</td>
								
								<td>
									<a href="${path}/customer/manage/index/policylist?customerID=${customer.CUSTOMERID}" >保单明细</a>
									 
								</td>
								
								<td>
									${customer.CONTACTMOBILE } 
									 
								</td>
								
								<td>
									 ${customer.CONTACTADDR }
								 
								</td>
								 
								 
                            </tr>
                            </c:forEach>
                        </table>
             
                
                 <!----------- 翻页导航 ------------------>
                        <div class="dg_pagerstyle">
                            <div class="pageinfo">
                                第${pagination.page }页 | 共${pagination.totalPages }页/${pagination.totalRows }条记录
                            </div>
                            <div class="pagebtn">
                                ${pagination.multiPage}&nbsp;
                            </div>
                        </div>
                
                
            </div>
            
            </div>
            <div class="webpart-foot">
                    <div class="webpart-foot-item">
                    </div>
                </div>
            </div>

		<sfa:mainFooter></sfa:mainFooter>

	</body>
</html>


